package com.zzx.springmvc;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Description ContextLoaderListener加载其他bean，通常是驱动应用后端的中间层和数据层组件
 * @ClassName RootConfig
 * @Author Alex
 * @Date 2019年2月18日17:20:26
 * @Version 1.0
 */
@Configuration
@ComponentScan(basePackages = "com.zzx.springmvc",
    excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = EnableWebMvc.class))
public class RootConfig {

}
